package com.lhd.service;


import com.lhd.pojo.Garbage;
import com.lhd.pojo.PageBean;
import com.lhd.pojo.PageCondition;

import java.util.List;

public interface GarbageService {
    List<Garbage> getAll();

    PageBean<Garbage> getWithCondition(Garbage garbage, PageCondition pageCondition);

    void update(Garbage garbage);

    void add(Garbage garbage);

    void remove(Integer id);
}
